import "package:flutter/material.dart";

// 加载本地图片
class AssetsImage extends StatelessWidget {
  const AssetsImage({super.key});

  @override
  Widget build(BuildContext context) {
    return Container(
      width: 100,
      height: 100,
      decoration: const BoxDecoration(
        color: Color(0xfff4f5fa),
      ),
      child: Image.asset(
        "images/1.jpg",
        // fit: BoxFit.cover,
      ),
    );
  }
}
